<script type="text/javascript">
    angular.module('djangular-demo', ['djng.websocket']).config(function(djangoWebsocketProvider) {
        djangoWebsocketProvider.setURI('{{ WEBSOCKET_URI }}');
        djangoWebsocketProvider.setHeartbeat({{ WS4REDIS_HEARTBEAT }});
    });
</script>

<form ng-controller="MyWebsocketCtrl">
    {{ form.as_div }}
</form>
